package cn.kpi.dao.zhfx;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.sys.UserEntity;
import cn.kpi.entity.zhfx.WorkassGroupEntity;
import cn.kpi.entity.zhfx.WorkassTempEntity;

@MyBatisDao
public interface ZhfxDao {

	public List<UserEntity> GetUserListByWhere(@Param("where") String where)throws Exception;
	
	public List<Map> GetZfkhList(@Param("where") String where,@Param("year")int year,@Param("month")int month)throws Exception;

	public List<Map> GetZfkhTemplateList(@Param("where") String where,@Param("templateid")Long templateid)throws Exception;

	public List<Map> GetDwkhList(@Param("where") String where,@Param("year")int year,@Param("month")int month,@Param("quarter") int quarter,@Param("divisor") int divisor,@Param("orgparentid")int orgparentid)throws Exception;


	public List<Map> GetDwkhdataList(@Param("where") String where,@Param("year")int year,@Param("month")int month,@Param("orgparentid")int orgparentid)throws Exception;

	public List<WorkassTempEntity> GetWorkassTempList()throws Exception;
	
	public List<WorkassGroupEntity> GetWorkassGroupList()throws Exception;
	public List<Map> GetWorkassGroupMap()throws Exception;
	
	public List<Map> GetYwkhList(@Param("where") String where,@Param("year")int year,@Param("month")int month)throws Exception;
	
	public List<Map> GetYwkhMonthListByOrgId(@Param("where") String where,@Param("year")int year)throws Exception;


	public List<Map> GetYwYearListByOrgId(@Param("tempid") String tempid,@Param("orgid") String orgid)throws Exception;

	public List<Map> GetZfYearListByOrgId(@Param("orgid") String orgid)throws Exception;

	public List<Map> GetDwYearListByOrgId(@Param("orgid") String orgid)throws Exception;
}
